* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    color: #333;
    text-decoration: none;
}

body {
    background: #f9fbfd;
    min-width: 1200px;
}

.header {
    height: 80px;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.nav-box {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    height: 40px;
    padding-top: 20px;
    align-items: center;
    justify-content: space-between;
    font-size: 30px;
    color: #333;
}

.nav-box .nav {
    display: flex;
    font-size: 16px;
    color: #555;
}

.nav-box .nav li {
    padding-left: 40px;
}

.nav-box .nav a.on,
.nav-box .nav a:hover {
    color: #000;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.banner {
    width: 100%;
    margin: 0 auto;
    background: url(../img/banner.webp) no-repeat center center;
    background-size: 100%;
    height: 312px;
    text-align: center;
    line-height: 312px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.introduce {
    width: 900px;
    margin: 0 auto;
    padding: 40px 0;

}

.introduce-tit {
    line-height: 50px;
    font-size: 28px;
    font-weight: 600;
    padding-bottom: 30px;
    padding-top: 40px;
    color: #555;
}

.introduce-main {
    display: flex;
}

.introduce-main .l {
    margin-right: 60px;
}

.introduce .l img {
    border-radius: 50%;
}

.introduce-main .r {
    line-height: 50px;
    font-size: 18px;
    color: #555;
}

.edu-box,
.work {
    display: flex;
    width: 100%;
}

.work {
    margin-bottom: 50px;
}

.r-box {
    margin-left: 40px;
    line-height: 26px;

}

.r-box .tit {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    padding-bottom: 20px;
}

.r-box .small {
    font-size: 16px;
    color: #666;
}

.r-box .time {
    height: 40px;
    width: 170px;
    line-height: 40px;
    background: #333;
    color: #fff;
    font-size: 14px;
    margin-top: 20px;
    display: flex;
}

.r-box .time .icon {
    width: 40px;
    height: 40px;
    background: url(../img/date.png) no-repeat center center;
    background-size: 14px;
}

.skill {
    width: 100%;
    margin-bottom: 30px;
}

.skill .tit {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.progress {
    width: 100%;
    height: 7px;
    border-radius: 7px;
    background: #ddd;
    position: relative;
    overflow: hidden;
}

.progress-in {
    position: absolute;
    height: 7px;
    left: 0;
    top: 0;
    background: lightblue;
}

.foot-box {
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    font-size: 13px;
    background: #000;
    color: #fff;
}

.introduce .l img.code {
    border-radius: 0;
}

.myform {
    margin-top: 50px;
}

.inp-box {
    width: 100%;
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.inp {
    flex: 1;
    height: 40px;
    text-indent: 10px;
    border: 1px solid #ddd;
    font-size: 20px;
    margin: 0 20px;
}

.msg {
    flex: 1;
    margin: 0 20px;
    border: 1px solid #ddd;
    text-indent: 10px;
    line-height: 24px;
    padding: 10px 0;
    font-size: 20px;
    min-height: 100px;
}

.but {
    margin: 20px;
    width: 150px;
    height: 42px;
    line-height: 42px;
    border: none;
    color: #fff;
    text-align: center;
    background: lightblue;
    cursor: pointer;
    font-size: 20px
}

.but:hover {
    opacity: 0.8;
}

.main-box {
    width: 1000px;
    margin: 20px auto;
}

.flex-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 20px;
}

.block {
    width: 300px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.desc {
    position: absolute;
    z-index: 3;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease-in;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    line-height: 300px;
    letter-spacing: 4px;
}

.block:hover .desc {
    opacity: 1;
}

.block .pic {
    transition: all 0.3s ease-in;
}

.block:hover img {
    transform: scale(1.2);
}

/* 移动端适配 */

@media screen and (max-width: 1199px) {
    body{
        min-width: 100%;
    }
    .nav-box {
        width:100%;
    }
    .nav-box span{
        display: none;
    }
    .banner{
        width:100%;
        height: 152px;
        line-height: 152px;
        font-size: 18px;
    }
    .introduce {
        width:90%;
        margin:0 auto;
    }
    .introduce .l img{
        width:120px;
    }
    .main-box {
        width:100%;
        box-sizing: border-box;
        padding:0 20px;
    }
    .inp-box {
        flex-wrap: wrap;
    }
    .inp-box input{
        margin-bottom:20px;
    }
    .flex-box {
        flex-wrap: wrap;
    }
    .block{
        width:150px;
        height: 150px;
        line-height: 150px;
        margin-bottom:20px;
    }
    .desc{
        line-height: 150px;
        font-size: 11px;
    }
    .introduce-tit {
        font-size:18px;
    }
}